tmem: cleanup: drop useless parameters from put/get page
authorBob Liu <lliubbo@gmail.com>
Thu, 12 Dec 2013 11:05:04 +0000 (19:05 +0800)
committerJan Beulich <jbeulich@suse.com>
Wed, 8 Jan 2014 07:53:57 +0000 (08:53 +0100)
commit751a77c9d55ee78bf0d4b7f321798e785f990add
treeb83cbf673eb4997276cb8f6343e8d0e05f36b1a4
parent2b254bd576b358bc6a5eeeb638b79a2bc5f4e95e
tmem: cleanup: drop useless parameters from put/get page

Tmem only takes page as a unit, so parameters tmem_offset, pfn_offset and len in
do_tmem_put/get() are meaningless. All of the callers are using the same
value(tmem_offset=0, pfn_offset=0, len=PAGE_SIZE).

This patch simplifies tmem ignoring those useless parameters and use the default
value directly.

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/common/tmem.c
xen/common/tmem_xen.c
xen/include/xen/tmem_xen.h